package com.szalay.desktopsearch.search;

import org.apache.solr.client.solrj.response.QueryResponse;

/**
 * Components implementing this interface get informed when a new search result arrives.
 * @author szalay
 */
public interface SearchListener {
    /**
     * The search is starting.
     * @param term 
     */
    void searchStarting(String term);
    /**
     * The search is finished.
     */
    void searchFinished(QueryResponse response);
}
